<template>
  <div>
    <img :src="require(`@/designer/assets/images/view${value}.png`)" alt="" class="upload-img">
  </div>
</template>

<script >
import { defineComponent } from '@vue/composition-api';

export default defineComponent({
  name: 'UploadSetter',
  props: {
    value: {
      type: String,
      default: '',
    },
    onChange: {
      type: Function,
      default: () => {},
    },
  },
  setup() {
    const handleVariable = (varName) => {};

    return {
      handleVariable,
    };
  },
});
</script>
<style lang="scss" scoped>
.field-setter {
  .field-list {
    display: flex;
    .rule {
      margin: 0 10px;
    }
  }
  .q-select {
    width: 110px;
  }
}
</style>
